﻿<%@ Page Title="" Language="C#" MasterPageFile="~/HomePage.master" AutoEventWireup="true"
    CodeFile="SiteLienHe.aspx.cs" Inherits="SiteLienHe" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="contact">
        <div class="contact_top">
            <p class="contact_date">
                <script type="text/javascript">
                    var mydate = new Date()
                    var year = mydate.getYear()
                    var minutes = mydate.getMinutes()
                    var hour = mydate.getHours()
                    if (year < 1000)
                        year += 1900
                    var day = mydate.getDay()
                    var month = mydate.getMonth()
                    var daym = mydate.getDate()
                    if (daym < 10)
                        daym = "0" + daym
                    var dayarray = new Array("Chủ nhật", "Thứ hai", "Thứ ba", "Thứ tư", "Thứ năm", "Thứ sáu", "Thứ bảy")
                    var montharray = new Array("01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12")
                    document.write("" + dayarray[day] + ", " + daym + "/" + montharray[month] + "/" + year + ", " + hour + ":" + minutes + " GMT+7")

                </script>
            </p>
            <div class="address_phone">
                <span class="contact_address">Địa chỉ: 220 Bình Tiên P4 Q6 TpHCM</span>
                <span class="contact_phone">0949793908</span>
            </div>
        </div>
        <div class="contact_mid">
            <div class="contact_mid_content">
                <div class="form_contact">
                    <table border="0">
                        <tr>
                            <td>
                                <span class="contact_label">Họ và Tên</span>
                            </td>
                            <td>
                                <asp:TextBox ID="txtName" CssClass="contact_input" Width="200px" MaxLength="100"
                                    runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" SetFocusOnError="True"
                                    ControlToValidate="txtName" Display="Dynamic" ErrorMessage=" (*)"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <span class="contact_label">Email</span>
                            </td>
                            <td>
                                <asp:TextBox ID="txtMail" CssClass="contact_input" Width="200px" MaxLength="100"
                                    runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" SetFocusOnError="True"
                                    ControlToValidate="txtMail" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                                    ErrorMessage=" (*)"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <span class="contact_label">Tiêu đề</span>
                            </td>
                            <td>
                                <asp:TextBox ID="txtTieuDe" CssClass="contact_input" Width="400px" MaxLength="400"
                                    runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" SetFocusOnError="True"
                                    ControlToValidate="txtTieuDe" Display="Dynamic" ErrorMessage=" (*)"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                    </table>
                    <p class="contact_gachngang">
                    </p>
                    <p>
                        <span class="contact_label">Nội dung:</span><span class="contact_gotiengviet">Gõ tiếng
                            việt: <script language="javascript1.2" type="text/javascript" src="Scripts/avim.js"></script></span></p>
                    <p>
                        <asp:TextBox ID="txtNoiDung" CssClass="contact_content" Width="480px" TextMode="MultiLine"
                            Height="150" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" SetFocusOnError="True"
                            ControlToValidate="txtNoiDung" Display="Dynamic" ErrorMessage=" (*)"></asp:RequiredFieldValidator>
                        <br />
                        <asp:ImageButton ID="cmdLuu" Width="95px" Height="28px" ImageUrl="~/Images/send_toasoan.png"
                            CssClass="botton_send" runat="server" OnClick="cmdLuu_Click" />
                        <asp:ImageButton ID="cmdHuy" Width="87px" Height="28px" ImageUrl="~/Images/xoatrang.png"
                            CausesValidation="false" runat="server" OnClick="cmdHuy_Click" />
                </div>
            </div>
            <!--End #contact_mid_content-->
        </div>
        <!--End #contact_mid-->
        <div class="contact_bottom">
        </div>
    </div>
    <!--End #content-->
</asp:Content>
